<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link href="<?=domain?>static/style/manage.css" rel="stylesheet" type="text/css" />
<link href="<?=domain?>static/style/fancybox.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?=domain?>static/scripts/core.js" charset="utf-8"></script>
<script type="text/javascript" src="<?=domain?>static/scripts/fancybox.js" charset="utf-8"></script>
<script type="text/javascript" src="<?=domain?>static/scripts/manage.js" charset="utf-8"></script>
<title><?=name?></title>
<body>
<div class="boxtitle">编辑分类</div>
<form name="edit" method="post" action="<?=domain?>index.php?c=sort&a=edit" onsubmit="return RequestPost('edit');">
<div class="area box">
	<input type="hidden" name="sort" value="<?=$sort['id']?>"/>
	<div class="line">
		<div class="w m">名称</div>
		<div class="s h"><input type="text" name="name" value="<?=$sort['name']?>"/></div>
		<div class="e c"><font color="red">*</font>,显示名称</div>
	</div>
	<div class="line">
		<div class="w m">数值</div>
		<div class="s h"><input type="text" name="value" value="<?=$sort['value']?>"/></div>
		<div class="e c"><font color="red">*</font>,对应的值</div>
	</div>
	<div class="line">
		<div class="w m">父ID</div>
		<div class="s h"><input type="text" name="parent" value="<?=$sort['parent']?>"/></div>
		<div class="e c"><font color="red">*</font>,从属父ID.</div>
	</div>
	<div class="line">
		<div class="w m">排序</div>
		<div class="s h"><input type="text" name="sequence" value="<?=$sort['sequence']?>"/></div>
		<div class="e c"><font color="red">*</font>,越大越靠前.</div>
	</div>
	<div class="line">
		<div class="w m">状态</div>
		<div class="s h select">
			<a href="#"><label>请选择状态...</label><input type="hidden" name="locked" value="0"/><span></span></a>
	        <ul>
		   	  <li tab="0"<?=(0==$sort['locked']?' selected':'')?>><a href="#">激活</a></li>
		   	  <li tab="1"<?=(1==$sort['locked']?' selected':'')?>><a href="#">禁止</a></li>
		   	  <li tab="10"<?=(10==$sort['locked']?' selected':'')?>><a href="#">删除</a></li>
		   	</ul>
		</div>
		<div class="e c"><font color="red">*</font>,编辑后的状态.</div>
	</div>
</div>
<div class="boxbu">
	<input type="submit" name="name" value="确定" class="yellow"/>
</div>
</form>
</body>
</html>